package com.onedec.apply.mapper;

import com.onedec.apply.entity.OnedecApply;
import com.onedec.apply.entity.OnedecApplyExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface OnedecApplyMapper {
    long countByExample(OnedecApplyExample example);

    int deleteByExample(OnedecApplyExample example);

    int deleteByPrimaryKey(Integer applyId);

    int insert(OnedecApply record);

    int insertSelective(OnedecApply record);

    List<OnedecApply> selectByExample(OnedecApplyExample example);

    OnedecApply selectByPrimaryKey(Integer applyId);

    int updateByExampleSelective(@Param("record") OnedecApply record, @Param("example") OnedecApplyExample example);

    int updateByExample(@Param("record") OnedecApply record, @Param("example") OnedecApplyExample example);

    int updateByPrimaryKeySelective(OnedecApply record);

    int updateByPrimaryKey(OnedecApply record);
    //查询群主id
    Integer selectQunzhuId(Integer eid);

    List<Map<String, Object>> selectByMap(Map<String, Object> map);
}